package dao;

import java.util.List;
import java.util.Map;

import domain.Event;

public interface IEventDAO {

	List<Event> getAllEvents();

	List<Event> getAllEventsByUser(String loginUser);

	List<Event> getAllEventsByName(String name);

	Event getEventById(Integer idEvent);

	Map<String, String> getAllGuestsByEvent(Integer idEvent);
	
	void createEvent(Event newEvent);

	Integer getLastCreatedEvent();
	
	Integer getNumberEventsToUser(Integer idUser) ;
	
	List<Integer> getEventsWithInvitedUser(Integer idUser);

	void updateAssistance(String assistance, Integer idEvent, Integer idUser);
}